#include "MetalBox.hpp"
#include "Utils.hpp"
#include "Map.hpp"
#include "UserData.hpp"

MetalBox::MetalBox(Map& map, const int x, const int y,const unsigned int index):
Box(map,x,y,index)
{
	ImagePtr image = LOAD_IMAGE("data/images/metal_box.png");
	if(image.get() != NULL)
		this->SetImage(*image);
		
	UserData *ud = new UserData();
	ud->type = "box";
	m_body->SetUserData(static_cast<void*>(ud));
}
MetalBox::~MetalBox()
{
}
